<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <style>
        li{
            list-style: none;
        }
        .p1{
            width: 400px;
            height: 400px;
         
        }
        img{
            width: 40px;
            height:40px;
            position: absolute;
           right: 100px;
        }
        .p2{
            position: relative;
            
        }
        .p3{
           position: relative;
           top: -2px;
           left:196px;
        }
       .p4{
        border-radius: 270px;
        background-color: chartreuse;
        width: 263px;
        height: 50px;
         position: relative;
         top: 20px;
         left: 36px;
       }
    </style>
    <div class="p1">
        <ul>
            <li class="p2">头像
                <img src="https://c-ssl.duitang.com/uploads/blog/202209/15/20220915090137_ffce3.jpeg" alt="">
            </li>
        </ul>
        <ul>
            <li >姓名
                <span class="p3">举</span>
            </li>
        </ul>
        <ul>
            <li>性别
                <span class="p3">男</span>
            </li>
        </ul>
         <ul>
            <li>年龄
                <span class="p3">18</span>
            </li>
        </ul>
        <button class="p4" onclick="tui()">退出登录</button>
    </div>
    
    <script>
           function tui(){
            location.assign("./6.3.项目.html")
           }
    </script>
</body>
</html>